package com.serverTechnology.teamsGroups.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.serverTechnology.teamsGroups.entity.TeCassette;
import com.baomidou.mybatisplus.extension.service.IService;
import com.serverTechnology.teamsGroups.entity.dto.TeCassetteAddDto;
import com.serverTechnology.teamsGroups.entity.dto.TeCassetteDto;
import com.serverTechnology.teamsGroups.entity.dto.TeCassetteEditDto;
import com.serverTechnology.teamsGroups.entity.vo.TeCassetteVo;

import java.util.RandomAccess;

/**
 * <p>
 * 料盒台账 服务类
 * </p>
 *
 * @author 王凯炫
 * @since 2024-08-05
 */
public interface ITeCassetteService extends IService<TeCassette> {

    /**
     * 添加料盒台账
     * @param teCassetteAddDto
     */
    void addTeCassette(TeCassetteAddDto teCassetteAddDto);

    /**
     * 编辑料盒台账
     * @param teCassetteDto
     */
    void editTeCassette(TeCassetteEditDto teCassetteDto);

    /**
     * 查询料盒台账
     * @param teCassetteDto
     * @return
     */
    PageResult<TeCassetteVo> pageCassette(TeCassetteDto teCassetteDto);
}
